
#ifndef SX_KEY_FRAME_H
#define SX_KEY_FRAME_H

#include <sxFrame.h>

namespace Sx {
namespace Multimedia {
namespace Animation {

template <typename Real>
class KeyFrame : public Frame<Real> {
public:
	KeyFrame(Real position = 0);
	virtual ~KeyFrame();

	void setModified(bool b);
	bool isModified() const;

protected:
	bool modified;
};

}

}

}

template <typename Real>
Sx::Multimedia::Animation::KeyFrame<Real>::KeyFrame(Real position) {
	this->pos = position;
	this->modified = false;
}

template <typename Real>
Sx::Multimedia::Animation::KeyFrame<Real>::~KeyFrame() {}

template <typename Real>
void Sx::Multimedia::Animation::KeyFrame<Real>::setModified(bool b) {
	this->modified = b;
}

template <typename Real>
bool Sx::Multimedia::Animation::KeyFrame<Real>::isModified() const {
	return this->modified;
}



#endif
